package com.zhixiang.xaec.entity.safebase.labourproducts;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import org.hibernate.cfg.Comment;
import com.googlecode.jsonplugin.annotations.JSON;
import com.zhixiang.xaec.entity.BaseEntity;

@Entity
@Table(name = "safebase_ReceiveRecord")
@Comment("领用记录")
public class ReceiveRecord extends BaseEntity {
	
	@Comment("领用部门")
    @Column(length=200)
	private String department;
	

	@Comment("领用人姓名")
    @Column(length=200)
	private String  receiverName;
	

	@Comment("使用者")
    @Column(name="[user]",length=200)
	private String user;
	

	@Comment("领用日期")
    @Column(length=200)
	private Date receiveDate;
	

	@Comment("领用数量")
    @Column(length=200)
	private String amount;
	

	@Comment("单位")
    @Column(length=200)
	private String unit;

	@Comment("实际发放数量")
    @Column(length=200)
	private String actualAmount;
	

	@Comment("领用物品")
    @Column(length=200)
	private String receiveGoods;

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getReceiverName() {
		return receiverName;
	}

	public void setReceiverName(String receiverName) {
		this.receiverName = receiverName;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}
    @JSON(format="YYYY-MM-dd")
	public Date getReceiveDate() {
		return receiveDate;
	}

	public void setReceiveDate(Date receiveDate) {
		this.receiveDate = receiveDate;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getActualAmount() {
		return actualAmount;
	}

	public void setActualAmount(String actualAmount) {
		this.actualAmount = actualAmount;
	}

	public String getReceiveGoods() {
		return receiveGoods;
	}

	public void setReceiveGoods(String receiveGoods) {
		this.receiveGoods = receiveGoods;
	}
	
}
